import request from '@/utils/request'
// 添加/修改-用户个性设置数据API（post）/company/privateSet/adupPrivateSet
export const adupPrivateSet = (data) => request.post('/company/privateSet/adupPrivateSet', data)

// 获取-用户个性设置数据列表API（post）/company/privateSet/getPrivateSetList
export const getPrivateSetList = (data) => request.post('/company/privateSet/getPrivateSetList', data)

// 获取客户列表/company/serviceCenter/findCompanyCusList
export const findCompanyCusList = (data) => request.post('/company/serviceCenter/findCompanyCusList', data)

// 获取客户类型下拉框/company/sysManage/findCusTypeCombo
export const findCusTypeCombo = (data) => request.post('/company/sysManage/findCusTypeCombo', data)

// 获取业务员列表/company/staffCenter/getServiceMans
export const getServiceMans = (data) => request.post('/company/staffCenter/getServiceMans', data)

// 设置/取消业务员/company/staffCenter/serviceManSet
export const serviceManSet = (data) => request.post('/company/staffCenter/serviceManSet', data)

// 添加/修改客户/company/serviceCenter/subCompanyCusAdup
export const subCompanyCusAdup = (data) => request.post('/company/serviceCenter/subCompanyCusAdup', data)

// 删除单位的客户/company/serviceCenter/deleteCompanyCus
export const deleteCompanyCus = (data) => request.post('/company/serviceCenter/deleteCompanyCus', data)

// 编辑客户操作员/company/serviceCenter/addCusDutyService
export const addCusDutyService = (data) => request.post('/company/serviceCenter/addCusDutyService', data)

// 动态列表-30天业务排班表(/company/safetyCenter/carScheduleList)
export const carScheduleList = (data) => request.post('/company/safetyCenter/carScheduleList', data)

// 动态列表-单天业务透视表(/company/vehicle/carServiceList)
export const carServiceList = (data) => request.post('/company/safetyCenter/carServiceList', data)

//获取车牌号下拉框(/company/safetyCenter/findCarCombo)
export const findCarCombo = (data) => request.post('/company/safetyCenter/findCarCombo', data)

//设置客户信用额度（/company/serviceCenter/setCreditBalance）
export const setCreditBalance = (data) => request.post('/company/serviceCenter/setCreditBalance', data)

//获取客户交易记录类型（/company/trade/getCusTradeTypes）
export const getCusTradeTypes = (data) => request.post('/company/trade/getCusTradeTypes', data)

//获取车队客户交易记录分页数据（/company/trade/getCusTradeForCompany）
export const getCusTradeForCompany = (data) => request.post('/company/trade/getCusTradeForCompany', data)

//获取客户交易账户类型（/company/trade/getCusBalanceTypes）
export const getCusBalanceTypes = (data) => request.post('/company/trade/getCusBalanceTypes', data)

//客户下拉
export const serviceCenterfindComboCusList = (data) => request.post('/company/serviceCenter/findComboCusList', data)

//获取-托管给我车队下拉框搜索/company/serviceCenter/findTrusteeshipMeCombo
export const findTrusteeshipMeCombo = (data) => request.post('/company/serviceCenter/findTrusteeshipMeCombo', data)
